package cn.creditease.std.monitor;

import java.util.concurrent.ScheduledThreadPoolExecutor;

/**
 * @Description: 补偿检测仪
 * @Author: kai.yang
 * @Date: 2019-08-08 11:37
 */
public abstract class AbstractRepairMonitor {

    private String jobName;

    protected ScheduledThreadPoolExecutor scheduledThreadPoolExecutor = new ScheduledThreadPoolExecutor(2);


    public AbstractRepairMonitor(String jobName) {
        this.jobName = jobName;
    }

    /**
     * 补偿操作
     */
    public abstract void check();

    public String getJobName() {
        return this.jobName;
    }


}
